\hypertarget{ks0108_8h}{
\section{ks0108.h File Reference}
\label{ks0108_8h}\index{ks0108.h@{ks0108.h}}
}
{\ttfamily \#include $<$inttypes.h$>$}\par
{\ttfamily \#include $<$avr/pgmspace.h$>$}\par
{\ttfamily \#include $<$util/delay.h$>$}\par
{\ttfamily \#include $<$avr/io.h$>$}\par
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structfont}{font}
\item 
struct \hyperlink{structlcdCoord}{lcdCoord}
\end{DoxyCompactItemize}
\subsection*{Defines}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{ks0108_8h_af5fa0b521298553d056e1a8762d271c3}{cbi}(reg, bit\_\-number)~reg \&= $\sim$(1$<$$<$(bit\_\-number))
\item 
\#define \hyperlink{ks0108_8h_a962a9ff4426b4db22b1648bd9450f522}{sbi}(reg, bit\_\-number)~reg $|$= (1$<$$<$(bit\_\-number))
\item 
\#define \hyperlink{ks0108_8h_a79eb482cd288d22a1eb2a0e3cfa6ca1b}{LCD\_\-CMD\_\-PORT}~PORTD
\item 
\#define \hyperlink{ks0108_8h_a3a766b357036040f0c8ecbad00896105}{LCD\_\-CMD\_\-DIR}~DDRD
\item 
\#define \hyperlink{ks0108_8h_aaf469a71c776564ce543a8e73e257068}{LCD\_\-DATA\_\-IN}~PINC
\item 
\#define \hyperlink{ks0108_8h_a3da78e9342befc54d33d83ac57ca7b63}{LCD\_\-DATA\_\-OUT}~PORTC
\item 
\#define \hyperlink{ks0108_8h_a7287a84fef726dc7e0cd3ffebc27a70d}{LCD\_\-DATA\_\-DIR}~DDRC
\item 
\#define \hyperlink{ks0108_8h_ae3f4429b33bba89818bdb3eef9c75025}{INCREMENT\_\-X}~0
\item 
\#define \hyperlink{ks0108_8h_a0dd5c25987708aaeaeeb663f629bd997}{NO\_\-INCREMENT\_\-X}~1
\item 
\#define \hyperlink{ks0108_8h_ae74d7a7a200a441a3ca10ca39937fd9c}{D\_\-I}~0x02
\item 
\#define \hyperlink{ks0108_8h_a58cc6c67bb1f75b4bc8951fead179541}{R\_\-W}~0x03
\item 
\#define \hyperlink{ks0108_8h_a22e6626f2c98ed902f8ded47f6438c05}{EN}~0x04
\item 
\#define \hyperlink{ks0108_8h_a6029681d780c82ba19599dcb56c91052}{CSEL1}~0x01
\item 
\#define \hyperlink{ks0108_8h_a7cd6c934ae85fb14cd28344d4c443e1d}{CSEL2}~0x00
\item 
\#define \hyperlink{ks0108_8h_ac5d957e4fd3dc11cd97a54cf9ca057a4}{RST}~0x07
\item 
\#define \hyperlink{ks0108_8h_a0c1a0a2df5479814f6ffc82c35c323cb}{CHIP1}~0x00
\item 
\#define \hyperlink{ks0108_8h_a15e370cefbcf8cd791fd46d18bff260a}{CHIP2}~0x01
\item 
\#define \hyperlink{ks0108_8h_a47a809dfec086fdeca93dedc4fb83b44}{LCD\_\-ON}~0x3F
\item 
\#define \hyperlink{ks0108_8h_a0024da29b32bafdae7aa8d344791d674}{LCD\_\-OFF}~0x3E
\item 
\#define \hyperlink{ks0108_8h_a8f56dd11a06a5f7dcd2045a555143cb4}{LCD\_\-SET\_\-ADD}~0x40
\item 
\#define \hyperlink{ks0108_8h_a57cd5350bbd1a24edc81b12cfe2d7bca}{LCD\_\-SET\_\-PAGE}~0xB8
\item 
\#define \hyperlink{ks0108_8h_a0f48accc6ca33f88a532d1fda6ea26ae}{LCD\_\-DISP\_\-START}~0xC0
\item 
\#define \hyperlink{ks0108_8h_ac8dd1658e235f174d1cabae5c438943d}{LCD\_\-BUSY}~0x80
\item 
\#define \hyperlink{ks0108_8h_a7b3b25cba33b07c303f3060fe41887f6}{BLACK}~0xFF
\item 
\#define \hyperlink{ks0108_8h_a87b537f5fa5c109d3c05c13d6b18f382}{WHITE}~0x00
\item 
\#define \hyperlink{ks0108_8h_ac752d7929d4ac7bc4f5ec7dc41f54da6}{SCR\_\-HALF\_\-WIDTH}~64
\item 
\#define \hyperlink{ks0108_8h_a20b74c72560277ef9a48be3be86ee22e}{SCR\_\-WIDTH}~2$\ast$SCR\_\-HALF\_\-WIDTH
\item 
\#define \hyperlink{ks0108_8h_ac843cc73951ca086e2e6cac07f1b67db}{SCR\_\-PAGE}~8
\item 
\#define \hyperlink{ks0108_8h_a475c17e71b3911e78f6fa5c3062764bc}{PULSE\_\-DELAY}~\_\-delay\_\-us(10)
\item 
\#define \hyperlink{ks0108_8h_af54d7e3b2f281b9d12c301a58ab9f21e}{ks0108DrawVertLine}(x, y, length, color)~\{ks0108FillRect(x, y, 0, length, color);\}
\item 
\#define \hyperlink{ks0108_8h_a7697c7bec7fcdc8ab850095ab4462e82}{ks0108DrawHoriLine}(x, y, length, color)~\{ks0108FillRect(x, y, length, 0, color);\}
\item 
\#define \hyperlink{ks0108_8h_ac052042f6a374a91f0a72981cde7a8b0}{ks0108DrawCircle}(xCenter, yCenter, radius, color)~\{ks0108DrawRoundRect(xCenter-\/radius, yCenter-\/radius, 2$\ast$radius, 2$\ast$radius, radius, color);\}
\item 
\#define \hyperlink{ks0108_8h_a5f4c10deed2822b35ba1ef6f9add0cce}{ks0108ClearScreen}()~\{ks0108Fill(WHITE);\}
\item 
\#define \hyperlink{ks0108_8h_abd6807061c476c7f8b01acc2518d3fd1}{LEFT\_\-SCREEN}~sbi(LCD\_\-CMD\_\-PORT, CSEL1);	cbi(LCD\_\-CMD\_\-PORT, CSEL2);
\item 
\#define \hyperlink{ks0108_8h_ab1634c411605dfdbd7f3a0d8fce76bc1}{RIGHT\_\-SCREEN}~cbi(LCD\_\-CMD\_\-PORT, CSEL1);	sbi(LCD\_\-CMD\_\-PORT, CSEL2);
\item 
\#define \hyperlink{ks0108_8h_a2681082bf9fdff7d4d2cca6991c64fb0}{T\_\-START\_\-PAGE}~0
\item 
\#define \hyperlink{ks0108_8h_acd40e77100589a32c9973bb47267bb27}{T\_\-END\_\-PAGE}~0
\item 
\#define \hyperlink{ks0108_8h_afca0553affea435cecd1abc8c8a6c82e}{T\_\-DOT\_\-VALUE}~128/(T\_\-END\_\-PAGE -\/ T\_\-START\_\-PAGE + 1)
\item 
\#define \hyperlink{ks0108_8h_a673e34d0bade4ad48f79b7bf64b697a1}{T\_\-PAGE\_\-VALUE}~8$\ast$T\_\-DOT\_\-VALUE
\item 
\#define \hyperlink{ks0108_8h_a16a7234cb1e74b494cced6f4f74f9cac}{F\_\-START\_\-PAGE}~0
\item 
\#define \hyperlink{ks0108_8h_a91c365534b35561c6a50aff845449ffc}{F\_\-END\_\-PAGE}~7
\item 
\#define \hyperlink{ks0108_8h_a7526f8e4263989c441739d1408bd7e07}{F\_\-DOT\_\-VALUE}~9
\item 
\#define \hyperlink{ks0108_8h_a04504116eab58fed009ac7f0da1a347a}{F\_\-PAGE\_\-VALUE}~8$\ast$F\_\-DOT\_\-VALUE
\item 
\#define \hyperlink{ks0108_8h_af792feb13ae0c1eab8f95f64c8baa96d}{WRITE\_\-CMD}~cbi(LCD\_\-CMD\_\-PORT, R\_\-W);	cbi(LCD\_\-CMD\_\-PORT, D\_\-I);
\item 
\#define \hyperlink{ks0108_8h_a485de214409cb69e0b6588157d1a3e25}{WRITE\_\-DATA}~cbi(LCD\_\-CMD\_\-PORT, R\_\-W);	sbi(LCD\_\-CMD\_\-PORT, D\_\-I);
\item 
\#define \hyperlink{ks0108_8h_a1640ffbc0d8ec0f7edb04a2b93918072}{LCD\_\-EN}
\item 
\#define \hyperlink{ks0108_8h_aec0f0ab242f1b58b1d017bc9ab4b898b}{LCD\_\-RST}
\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef uint8\_\-t($\ast$ \hyperlink{ks0108_8h_a7681c35f5d0c10cc5aebb18d3fc6234b}{ks0108FontCallback} )(const uint8\_\-t $\ast$)
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{ks0108_8h_a60bc2975c4759c751c3288eddbb714a5}{wait\_\-while\_\-chip\_\-is\_\-busy} ()
\item 
void \hyperlink{ks0108_8h_a049a4acdbb1a75a3874624d93000fa04}{ks0108Enable} (void)
\item 
void \hyperlink{ks0108_8h_a051bb639c91803e48d8939b4c182a38d}{ks0108Fill} (uint8\_\-t mode)
\item 
void \hyperlink{ks0108_8h_ad93865f5eb9fa35e9ae373cfb384f34c}{ks0108GotoXY} (uint8\_\-t, uint8\_\-t)
\item 
void \hyperlink{ks0108_8h_aa7ebf0e03fcbf00d2b9950a2af501952}{ks0108Init} (void)
\item 
void \hyperlink{ks0108_8h_a7563cb2d1329cf3381d49235e66f754e}{ks0108SetDot} (uint8\_\-t, uint8\_\-t)
\item 
void \hyperlink{ks0108_8h_a818f642993913ea0589acbf25082f438}{ks0108ClearDot} (uint8\_\-t, uint8\_\-t)
\item 
void \hyperlink{ks0108_8h_a293c224dabc5e88b2db2a9b291f3194f}{ks0108PutChar} (char c, struct \hyperlink{structfont}{font} \hyperlink{structfont}{font})
\item 
void \hyperlink{ks0108_8h_ad4d131c95da09e5f651f70b1871f2e20}{ks0108NewLine} (uint8\_\-t fontHeight, uint8\_\-t offset)
\item 
void \hyperlink{ks0108_8h_aa64b444af47d70eb1edf82abb8a9c796}{ks0108PutString} (char $\ast$string, struct \hyperlink{structfont}{font} \hyperlink{structfont}{font})
\item 
void \hyperlink{ks0108_8h_acb22d6064e3c3c5c04cd813f85b7f5b1}{ks0108PutStringP} (PGM\_\-P string, struct \hyperlink{structfont}{font} \hyperlink{structfont}{font})
\item 
char \hyperlink{ks0108_8h_a84940081d15ab563c303449e9c60efef}{ks0108ReadData} (uint8\_\-t incXAdd)
\item 
void \hyperlink{ks0108_8h_ad9b8f565d8a5a3a8b1951a381553b395}{ks0108WriteCommand} (uint8\_\-t cmd, uint8\_\-t chip)
\item 
void \hyperlink{ks0108_8h_a3d5f4ebdf7ffb511d6d387a8330158e2}{ks0108WriteData} (uint8\_\-t data)
\item 
void \hyperlink{ks0108_8h_acc06c833023eb4d45111328280633aa6}{lcd\_\-write\_\-cmd} (unsigned char cmd)
\item 
void \hyperlink{ks0108_8h_a0b50780b04259f3c85b6f93ece51d587}{lcd\_\-write\_\-data} (unsigned char data)
\item 
void \hyperlink{ks0108_8h_adf0a5938f7bf89fe5cec5d7275a73d1e}{lcd\_\-update} (void)
\item 
void \hyperlink{ks0108_8h_af958b42d8740b55b2773f2406ab09b40}{lcd\_\-cls} (void)
\item 
void \hyperlink{ks0108_8h_a62635a2b3066a84f913e3c7d4d31d585}{lcd\_\-initial} (void)
\item 
void \hyperlink{ks0108_8h_a59268018d37e9658916fac2775596681}{lcd\_\-print\_\-point} (unsigned char y, unsigned int value)
\item 
void \hyperlink{ks0108_8h_ad5823382e24a05232f6159c979e85793}{lcd\_\-print\_\-column} (unsigned char y, unsigned int value)
\item 
void \hyperlink{ks0108_8h_acaaf299dd0df6836b0dded86d36f2b40}{lcd\_\-print\_\-signal} (unsigned int $\ast$wave)
\item 
void \hyperlink{ks0108_8h_a0914845824d051a964683e0c645657bd}{lcd\_\-print\_\-spectrum} (unsigned int $\ast$spectrum)
\item 
void \hyperlink{ks0108_8h_a47aa0fae54f16ae533f55b9e84b59a61}{ks0108DrawLine} (uint8\_\-t x1, uint8\_\-t y1, uint8\_\-t x2, uint8\_\-t y2, uint8\_\-t color)
\item 
void \hyperlink{ks0108_8h_a313016389527974577b0e3552f333b88}{ks0108DrawRect} (uint8\_\-t x, uint8\_\-t y, uint8\_\-t width, uint8\_\-t height, uint8\_\-t color)
\item 
void \hyperlink{ks0108_8h_a1b779d8e5b79a2165c6aff36aec00ca2}{ks0108DrawRoundRect} (uint8\_\-t x, uint8\_\-t y, uint8\_\-t width, uint8\_\-t height, uint8\_\-t radius, uint8\_\-t color)
\item 
void \hyperlink{ks0108_8h_a0dc090ac40ee30474c6292a496963713}{ks0108FillRect} (uint8\_\-t x, uint8\_\-t y, uint8\_\-t width, uint8\_\-t height, uint8\_\-t color)
\item 
void \hyperlink{ks0108_8h_a38b7d8672da45eeee31b095c48234176}{ks0108InvertRect} (uint8\_\-t x, uint8\_\-t y, uint8\_\-t width, uint8\_\-t height)
\item 
void \hyperlink{ks0108_8h_a913cb2088d83be092ea39d39a42878f5}{ks0108SetInverted} (uint8\_\-t invert)
\item 
uint8\_\-t \hyperlink{ks0108_8h_ac16cd1ece94e62fb903e9c9ee0563b17}{ks0108ReadFontData} (const uint8\_\-t $\ast$ptr)
\item 
void \hyperlink{ks0108_8h_a9a40fe851573279d09ddadb94eac083a}{ks0108SelectFont} (const char $\ast$\hyperlink{structfont}{font}, \hyperlink{ks0108_8h_a7681c35f5d0c10cc5aebb18d3fc6234b}{ks0108FontCallback} callback, uint8\_\-t color)
\item 
void \hyperlink{ks0108_8h_add7e0f36eea7fc933c799ee690ad4dc8}{ks0108SetDotnew} (uint8\_\-t x, uint8\_\-t y, uint8\_\-t color)
\item 
uint8\_\-t \hyperlink{ks0108_8h_a129ad264d04cada102770fbf5439ed61}{ks0108ReadDatanew} (void)
\item 
uint8\_\-t \hyperlink{ks0108_8h_a1c716ea4fddcbd2074eea6288ee46d2f}{ks0108DoReadData} (uint8\_\-t first)
\end{DoxyCompactItemize}


\subsection{Define Documentation}
\hypertarget{ks0108_8h_a7b3b25cba33b07c303f3060fe41887f6}{
\index{ks0108.h@{ks0108.h}!BLACK@{BLACK}}
\index{BLACK@{BLACK}!ks0108.h@{ks0108.h}}
\subsubsection[{BLACK}]{\setlength{\rightskip}{0pt plus 5cm}\#define BLACK~0xFF}}
\label{ks0108_8h_a7b3b25cba33b07c303f3060fe41887f6}
\hypertarget{ks0108_8h_af5fa0b521298553d056e1a8762d271c3}{
\index{ks0108.h@{ks0108.h}!cbi@{cbi}}
\index{cbi@{cbi}!ks0108.h@{ks0108.h}}
\subsubsection[{cbi}]{\setlength{\rightskip}{0pt plus 5cm}\#define cbi(
\begin{DoxyParamCaption}
\item[{}]{reg, }
\item[{}]{bit\_\-number}
\end{DoxyParamCaption}
)~reg \&= $\sim$(1$<$$<$(bit\_\-number))}}
\label{ks0108_8h_af5fa0b521298553d056e1a8762d271c3}
\hypertarget{ks0108_8h_a0c1a0a2df5479814f6ffc82c35c323cb}{
\index{ks0108.h@{ks0108.h}!CHIP1@{CHIP1}}
\index{CHIP1@{CHIP1}!ks0108.h@{ks0108.h}}
\subsubsection[{CHIP1}]{\setlength{\rightskip}{0pt plus 5cm}\#define CHIP1~0x00}}
\label{ks0108_8h_a0c1a0a2df5479814f6ffc82c35c323cb}
\hypertarget{ks0108_8h_a15e370cefbcf8cd791fd46d18bff260a}{
\index{ks0108.h@{ks0108.h}!CHIP2@{CHIP2}}
\index{CHIP2@{CHIP2}!ks0108.h@{ks0108.h}}
\subsubsection[{CHIP2}]{\setlength{\rightskip}{0pt plus 5cm}\#define CHIP2~0x01}}
\label{ks0108_8h_a15e370cefbcf8cd791fd46d18bff260a}
\hypertarget{ks0108_8h_a6029681d780c82ba19599dcb56c91052}{
\index{ks0108.h@{ks0108.h}!CSEL1@{CSEL1}}
\index{CSEL1@{CSEL1}!ks0108.h@{ks0108.h}}
\subsubsection[{CSEL1}]{\setlength{\rightskip}{0pt plus 5cm}\#define CSEL1~0x01}}
\label{ks0108_8h_a6029681d780c82ba19599dcb56c91052}
\hypertarget{ks0108_8h_a7cd6c934ae85fb14cd28344d4c443e1d}{
\index{ks0108.h@{ks0108.h}!CSEL2@{CSEL2}}
\index{CSEL2@{CSEL2}!ks0108.h@{ks0108.h}}
\subsubsection[{CSEL2}]{\setlength{\rightskip}{0pt plus 5cm}\#define CSEL2~0x00}}
\label{ks0108_8h_a7cd6c934ae85fb14cd28344d4c443e1d}
\hypertarget{ks0108_8h_ae74d7a7a200a441a3ca10ca39937fd9c}{
\index{ks0108.h@{ks0108.h}!D\_\-I@{D\_\-I}}
\index{D\_\-I@{D\_\-I}!ks0108.h@{ks0108.h}}
\subsubsection[{D\_\-I}]{\setlength{\rightskip}{0pt plus 5cm}\#define D\_\-I~0x02}}
\label{ks0108_8h_ae74d7a7a200a441a3ca10ca39937fd9c}
\hypertarget{ks0108_8h_a22e6626f2c98ed902f8ded47f6438c05}{
\index{ks0108.h@{ks0108.h}!EN@{EN}}
\index{EN@{EN}!ks0108.h@{ks0108.h}}
\subsubsection[{EN}]{\setlength{\rightskip}{0pt plus 5cm}\#define EN~0x04}}
\label{ks0108_8h_a22e6626f2c98ed902f8ded47f6438c05}
\hypertarget{ks0108_8h_a7526f8e4263989c441739d1408bd7e07}{
\index{ks0108.h@{ks0108.h}!F\_\-DOT\_\-VALUE@{F\_\-DOT\_\-VALUE}}
\index{F\_\-DOT\_\-VALUE@{F\_\-DOT\_\-VALUE}!ks0108.h@{ks0108.h}}
\subsubsection[{F\_\-DOT\_\-VALUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-DOT\_\-VALUE~9}}
\label{ks0108_8h_a7526f8e4263989c441739d1408bd7e07}
\hypertarget{ks0108_8h_a91c365534b35561c6a50aff845449ffc}{
\index{ks0108.h@{ks0108.h}!F\_\-END\_\-PAGE@{F\_\-END\_\-PAGE}}
\index{F\_\-END\_\-PAGE@{F\_\-END\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{F\_\-END\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-END\_\-PAGE~7}}
\label{ks0108_8h_a91c365534b35561c6a50aff845449ffc}
\hypertarget{ks0108_8h_a04504116eab58fed009ac7f0da1a347a}{
\index{ks0108.h@{ks0108.h}!F\_\-PAGE\_\-VALUE@{F\_\-PAGE\_\-VALUE}}
\index{F\_\-PAGE\_\-VALUE@{F\_\-PAGE\_\-VALUE}!ks0108.h@{ks0108.h}}
\subsubsection[{F\_\-PAGE\_\-VALUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-PAGE\_\-VALUE~8$\ast$F\_\-DOT\_\-VALUE}}
\label{ks0108_8h_a04504116eab58fed009ac7f0da1a347a}
\hypertarget{ks0108_8h_a16a7234cb1e74b494cced6f4f74f9cac}{
\index{ks0108.h@{ks0108.h}!F\_\-START\_\-PAGE@{F\_\-START\_\-PAGE}}
\index{F\_\-START\_\-PAGE@{F\_\-START\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{F\_\-START\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define F\_\-START\_\-PAGE~0}}
\label{ks0108_8h_a16a7234cb1e74b494cced6f4f74f9cac}
\hypertarget{ks0108_8h_ae3f4429b33bba89818bdb3eef9c75025}{
\index{ks0108.h@{ks0108.h}!INCREMENT\_\-X@{INCREMENT\_\-X}}
\index{INCREMENT\_\-X@{INCREMENT\_\-X}!ks0108.h@{ks0108.h}}
\subsubsection[{INCREMENT\_\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define INCREMENT\_\-X~0}}
\label{ks0108_8h_ae3f4429b33bba89818bdb3eef9c75025}
\hypertarget{ks0108_8h_a5f4c10deed2822b35ba1ef6f9add0cce}{
\index{ks0108.h@{ks0108.h}!ks0108ClearScreen@{ks0108ClearScreen}}
\index{ks0108ClearScreen@{ks0108ClearScreen}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108ClearScreen}]{\setlength{\rightskip}{0pt plus 5cm}\#define ks0108ClearScreen(
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)~\{ks0108Fill(WHITE);\}}}
\label{ks0108_8h_a5f4c10deed2822b35ba1ef6f9add0cce}
\hypertarget{ks0108_8h_ac052042f6a374a91f0a72981cde7a8b0}{
\index{ks0108.h@{ks0108.h}!ks0108DrawCircle@{ks0108DrawCircle}}
\index{ks0108DrawCircle@{ks0108DrawCircle}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawCircle}]{\setlength{\rightskip}{0pt plus 5cm}\#define ks0108DrawCircle(
\begin{DoxyParamCaption}
\item[{}]{xCenter, }
\item[{}]{yCenter, }
\item[{}]{radius, }
\item[{}]{color}
\end{DoxyParamCaption}
)~\{ks0108DrawRoundRect(xCenter-\/radius, yCenter-\/radius, 2$\ast$radius, 2$\ast$radius, radius, color);\}}}
\label{ks0108_8h_ac052042f6a374a91f0a72981cde7a8b0}
\hypertarget{ks0108_8h_a7697c7bec7fcdc8ab850095ab4462e82}{
\index{ks0108.h@{ks0108.h}!ks0108DrawHoriLine@{ks0108DrawHoriLine}}
\index{ks0108DrawHoriLine@{ks0108DrawHoriLine}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawHoriLine}]{\setlength{\rightskip}{0pt plus 5cm}\#define ks0108DrawHoriLine(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y, }
\item[{}]{length, }
\item[{}]{color}
\end{DoxyParamCaption}
)~\{ks0108FillRect(x, y, length, 0, color);\}}}
\label{ks0108_8h_a7697c7bec7fcdc8ab850095ab4462e82}
\hypertarget{ks0108_8h_af54d7e3b2f281b9d12c301a58ab9f21e}{
\index{ks0108.h@{ks0108.h}!ks0108DrawVertLine@{ks0108DrawVertLine}}
\index{ks0108DrawVertLine@{ks0108DrawVertLine}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawVertLine}]{\setlength{\rightskip}{0pt plus 5cm}\#define ks0108DrawVertLine(
\begin{DoxyParamCaption}
\item[{}]{x, }
\item[{}]{y, }
\item[{}]{length, }
\item[{}]{color}
\end{DoxyParamCaption}
)~\{ks0108FillRect(x, y, 0, length, color);\}}}
\label{ks0108_8h_af54d7e3b2f281b9d12c301a58ab9f21e}
\hypertarget{ks0108_8h_ac8dd1658e235f174d1cabae5c438943d}{
\index{ks0108.h@{ks0108.h}!LCD\_\-BUSY@{LCD\_\-BUSY}}
\index{LCD\_\-BUSY@{LCD\_\-BUSY}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-BUSY}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-BUSY~0x80}}
\label{ks0108_8h_ac8dd1658e235f174d1cabae5c438943d}
\hypertarget{ks0108_8h_a3a766b357036040f0c8ecbad00896105}{
\index{ks0108.h@{ks0108.h}!LCD\_\-CMD\_\-DIR@{LCD\_\-CMD\_\-DIR}}
\index{LCD\_\-CMD\_\-DIR@{LCD\_\-CMD\_\-DIR}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-CMD\_\-DIR}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CMD\_\-DIR~DDRD}}
\label{ks0108_8h_a3a766b357036040f0c8ecbad00896105}
\hypertarget{ks0108_8h_a79eb482cd288d22a1eb2a0e3cfa6ca1b}{
\index{ks0108.h@{ks0108.h}!LCD\_\-CMD\_\-PORT@{LCD\_\-CMD\_\-PORT}}
\index{LCD\_\-CMD\_\-PORT@{LCD\_\-CMD\_\-PORT}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-CMD\_\-PORT}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-CMD\_\-PORT~PORTD}}
\label{ks0108_8h_a79eb482cd288d22a1eb2a0e3cfa6ca1b}
\hypertarget{ks0108_8h_a7287a84fef726dc7e0cd3ffebc27a70d}{
\index{ks0108.h@{ks0108.h}!LCD\_\-DATA\_\-DIR@{LCD\_\-DATA\_\-DIR}}
\index{LCD\_\-DATA\_\-DIR@{LCD\_\-DATA\_\-DIR}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-DATA\_\-DIR}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA\_\-DIR~DDRC}}
\label{ks0108_8h_a7287a84fef726dc7e0cd3ffebc27a70d}
\hypertarget{ks0108_8h_aaf469a71c776564ce543a8e73e257068}{
\index{ks0108.h@{ks0108.h}!LCD\_\-DATA\_\-IN@{LCD\_\-DATA\_\-IN}}
\index{LCD\_\-DATA\_\-IN@{LCD\_\-DATA\_\-IN}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-DATA\_\-IN}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA\_\-IN~PINC}}
\label{ks0108_8h_aaf469a71c776564ce543a8e73e257068}
\hypertarget{ks0108_8h_a3da78e9342befc54d33d83ac57ca7b63}{
\index{ks0108.h@{ks0108.h}!LCD\_\-DATA\_\-OUT@{LCD\_\-DATA\_\-OUT}}
\index{LCD\_\-DATA\_\-OUT@{LCD\_\-DATA\_\-OUT}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-DATA\_\-OUT}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DATA\_\-OUT~PORTC}}
\label{ks0108_8h_a3da78e9342befc54d33d83ac57ca7b63}
\hypertarget{ks0108_8h_a0f48accc6ca33f88a532d1fda6ea26ae}{
\index{ks0108.h@{ks0108.h}!LCD\_\-DISP\_\-START@{LCD\_\-DISP\_\-START}}
\index{LCD\_\-DISP\_\-START@{LCD\_\-DISP\_\-START}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-DISP\_\-START}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-DISP\_\-START~0xC0}}
\label{ks0108_8h_a0f48accc6ca33f88a532d1fda6ea26ae}
\hypertarget{ks0108_8h_a1640ffbc0d8ec0f7edb04a2b93918072}{
\index{ks0108.h@{ks0108.h}!LCD\_\-EN@{LCD\_\-EN}}
\index{LCD\_\-EN@{LCD\_\-EN}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-EN}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-EN}}
\label{ks0108_8h_a1640ffbc0d8ec0f7edb04a2b93918072}
{\bfseries Value:}
\begin{DoxyCode}
PULSE_DELAY;cbi(LCD_CMD_PORT, EN);PULSE_DELAY;\
                                                PULSE_DELAY;sbi(LCD_CMD_PORT, EN)
      ;PULSE_DELAY;\
                                                PULSE_DELAY;cbi(LCD_CMD_PORT, EN)
      ;PULSE_DELAY;
\end{DoxyCode}
\hypertarget{ks0108_8h_a0024da29b32bafdae7aa8d344791d674}{
\index{ks0108.h@{ks0108.h}!LCD\_\-OFF@{LCD\_\-OFF}}
\index{LCD\_\-OFF@{LCD\_\-OFF}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-OFF}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-OFF~0x3E}}
\label{ks0108_8h_a0024da29b32bafdae7aa8d344791d674}
\hypertarget{ks0108_8h_a47a809dfec086fdeca93dedc4fb83b44}{
\index{ks0108.h@{ks0108.h}!LCD\_\-ON@{LCD\_\-ON}}
\index{LCD\_\-ON@{LCD\_\-ON}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-ON}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-ON~0x3F}}
\label{ks0108_8h_a47a809dfec086fdeca93dedc4fb83b44}
\hypertarget{ks0108_8h_aec0f0ab242f1b58b1d017bc9ab4b898b}{
\index{ks0108.h@{ks0108.h}!LCD\_\-RST@{LCD\_\-RST}}
\index{LCD\_\-RST@{LCD\_\-RST}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-RST}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-RST}}
\label{ks0108_8h_aec0f0ab242f1b58b1d017bc9ab4b898b}
{\bfseries Value:}
\begin{DoxyCode}
PULSE_DELAY;sbi(LCD_CMD_PORT, RST);PULSE_DELAY;\
                                                PULSE_DELAY;cbi(LCD_CMD_PORT, 
      RST);PULSE_DELAY;\
                                                PULSE_DELAY;sbi(LCD_CMD_PORT, 
      RST);PULSE_DELAY;
\end{DoxyCode}
\hypertarget{ks0108_8h_a8f56dd11a06a5f7dcd2045a555143cb4}{
\index{ks0108.h@{ks0108.h}!LCD\_\-SET\_\-ADD@{LCD\_\-SET\_\-ADD}}
\index{LCD\_\-SET\_\-ADD@{LCD\_\-SET\_\-ADD}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-SET\_\-ADD}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-SET\_\-ADD~0x40}}
\label{ks0108_8h_a8f56dd11a06a5f7dcd2045a555143cb4}
\hypertarget{ks0108_8h_a57cd5350bbd1a24edc81b12cfe2d7bca}{
\index{ks0108.h@{ks0108.h}!LCD\_\-SET\_\-PAGE@{LCD\_\-SET\_\-PAGE}}
\index{LCD\_\-SET\_\-PAGE@{LCD\_\-SET\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{LCD\_\-SET\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define LCD\_\-SET\_\-PAGE~0xB8}}
\label{ks0108_8h_a57cd5350bbd1a24edc81b12cfe2d7bca}
\hypertarget{ks0108_8h_abd6807061c476c7f8b01acc2518d3fd1}{
\index{ks0108.h@{ks0108.h}!LEFT\_\-SCREEN@{LEFT\_\-SCREEN}}
\index{LEFT\_\-SCREEN@{LEFT\_\-SCREEN}!ks0108.h@{ks0108.h}}
\subsubsection[{LEFT\_\-SCREEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define LEFT\_\-SCREEN~sbi(LCD\_\-CMD\_\-PORT, CSEL1);	cbi(LCD\_\-CMD\_\-PORT, CSEL2);}}
\label{ks0108_8h_abd6807061c476c7f8b01acc2518d3fd1}
\hypertarget{ks0108_8h_a0dd5c25987708aaeaeeb663f629bd997}{
\index{ks0108.h@{ks0108.h}!NO\_\-INCREMENT\_\-X@{NO\_\-INCREMENT\_\-X}}
\index{NO\_\-INCREMENT\_\-X@{NO\_\-INCREMENT\_\-X}!ks0108.h@{ks0108.h}}
\subsubsection[{NO\_\-INCREMENT\_\-X}]{\setlength{\rightskip}{0pt plus 5cm}\#define NO\_\-INCREMENT\_\-X~1}}
\label{ks0108_8h_a0dd5c25987708aaeaeeb663f629bd997}
\hypertarget{ks0108_8h_a475c17e71b3911e78f6fa5c3062764bc}{
\index{ks0108.h@{ks0108.h}!PULSE\_\-DELAY@{PULSE\_\-DELAY}}
\index{PULSE\_\-DELAY@{PULSE\_\-DELAY}!ks0108.h@{ks0108.h}}
\subsubsection[{PULSE\_\-DELAY}]{\setlength{\rightskip}{0pt plus 5cm}\#define PULSE\_\-DELAY~\_\-delay\_\-us(10)}}
\label{ks0108_8h_a475c17e71b3911e78f6fa5c3062764bc}
\hypertarget{ks0108_8h_a58cc6c67bb1f75b4bc8951fead179541}{
\index{ks0108.h@{ks0108.h}!R\_\-W@{R\_\-W}}
\index{R\_\-W@{R\_\-W}!ks0108.h@{ks0108.h}}
\subsubsection[{R\_\-W}]{\setlength{\rightskip}{0pt plus 5cm}\#define R\_\-W~0x03}}
\label{ks0108_8h_a58cc6c67bb1f75b4bc8951fead179541}
\hypertarget{ks0108_8h_ab1634c411605dfdbd7f3a0d8fce76bc1}{
\index{ks0108.h@{ks0108.h}!RIGHT\_\-SCREEN@{RIGHT\_\-SCREEN}}
\index{RIGHT\_\-SCREEN@{RIGHT\_\-SCREEN}!ks0108.h@{ks0108.h}}
\subsubsection[{RIGHT\_\-SCREEN}]{\setlength{\rightskip}{0pt plus 5cm}\#define RIGHT\_\-SCREEN~cbi(LCD\_\-CMD\_\-PORT, CSEL1);	sbi(LCD\_\-CMD\_\-PORT, CSEL2);}}
\label{ks0108_8h_ab1634c411605dfdbd7f3a0d8fce76bc1}
\hypertarget{ks0108_8h_ac5d957e4fd3dc11cd97a54cf9ca057a4}{
\index{ks0108.h@{ks0108.h}!RST@{RST}}
\index{RST@{RST}!ks0108.h@{ks0108.h}}
\subsubsection[{RST}]{\setlength{\rightskip}{0pt plus 5cm}\#define RST~0x07}}
\label{ks0108_8h_ac5d957e4fd3dc11cd97a54cf9ca057a4}
\hypertarget{ks0108_8h_a962a9ff4426b4db22b1648bd9450f522}{
\index{ks0108.h@{ks0108.h}!sbi@{sbi}}
\index{sbi@{sbi}!ks0108.h@{ks0108.h}}
\subsubsection[{sbi}]{\setlength{\rightskip}{0pt plus 5cm}\#define sbi(
\begin{DoxyParamCaption}
\item[{}]{reg, }
\item[{}]{bit\_\-number}
\end{DoxyParamCaption}
)~reg $|$= (1$<$$<$(bit\_\-number))}}
\label{ks0108_8h_a962a9ff4426b4db22b1648bd9450f522}
\hypertarget{ks0108_8h_ac752d7929d4ac7bc4f5ec7dc41f54da6}{
\index{ks0108.h@{ks0108.h}!SCR\_\-HALF\_\-WIDTH@{SCR\_\-HALF\_\-WIDTH}}
\index{SCR\_\-HALF\_\-WIDTH@{SCR\_\-HALF\_\-WIDTH}!ks0108.h@{ks0108.h}}
\subsubsection[{SCR\_\-HALF\_\-WIDTH}]{\setlength{\rightskip}{0pt plus 5cm}\#define SCR\_\-HALF\_\-WIDTH~64}}
\label{ks0108_8h_ac752d7929d4ac7bc4f5ec7dc41f54da6}
\hypertarget{ks0108_8h_ac843cc73951ca086e2e6cac07f1b67db}{
\index{ks0108.h@{ks0108.h}!SCR\_\-PAGE@{SCR\_\-PAGE}}
\index{SCR\_\-PAGE@{SCR\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{SCR\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define SCR\_\-PAGE~8}}
\label{ks0108_8h_ac843cc73951ca086e2e6cac07f1b67db}
\hypertarget{ks0108_8h_a20b74c72560277ef9a48be3be86ee22e}{
\index{ks0108.h@{ks0108.h}!SCR\_\-WIDTH@{SCR\_\-WIDTH}}
\index{SCR\_\-WIDTH@{SCR\_\-WIDTH}!ks0108.h@{ks0108.h}}
\subsubsection[{SCR\_\-WIDTH}]{\setlength{\rightskip}{0pt plus 5cm}\#define SCR\_\-WIDTH~2$\ast$SCR\_\-HALF\_\-WIDTH}}
\label{ks0108_8h_a20b74c72560277ef9a48be3be86ee22e}
\hypertarget{ks0108_8h_afca0553affea435cecd1abc8c8a6c82e}{
\index{ks0108.h@{ks0108.h}!T\_\-DOT\_\-VALUE@{T\_\-DOT\_\-VALUE}}
\index{T\_\-DOT\_\-VALUE@{T\_\-DOT\_\-VALUE}!ks0108.h@{ks0108.h}}
\subsubsection[{T\_\-DOT\_\-VALUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\_\-DOT\_\-VALUE~128/(T\_\-END\_\-PAGE -\/ T\_\-START\_\-PAGE + 1)}}
\label{ks0108_8h_afca0553affea435cecd1abc8c8a6c82e}
\hypertarget{ks0108_8h_acd40e77100589a32c9973bb47267bb27}{
\index{ks0108.h@{ks0108.h}!T\_\-END\_\-PAGE@{T\_\-END\_\-PAGE}}
\index{T\_\-END\_\-PAGE@{T\_\-END\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{T\_\-END\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\_\-END\_\-PAGE~0}}
\label{ks0108_8h_acd40e77100589a32c9973bb47267bb27}
\hypertarget{ks0108_8h_a673e34d0bade4ad48f79b7bf64b697a1}{
\index{ks0108.h@{ks0108.h}!T\_\-PAGE\_\-VALUE@{T\_\-PAGE\_\-VALUE}}
\index{T\_\-PAGE\_\-VALUE@{T\_\-PAGE\_\-VALUE}!ks0108.h@{ks0108.h}}
\subsubsection[{T\_\-PAGE\_\-VALUE}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\_\-PAGE\_\-VALUE~8$\ast$T\_\-DOT\_\-VALUE}}
\label{ks0108_8h_a673e34d0bade4ad48f79b7bf64b697a1}
\hypertarget{ks0108_8h_a2681082bf9fdff7d4d2cca6991c64fb0}{
\index{ks0108.h@{ks0108.h}!T\_\-START\_\-PAGE@{T\_\-START\_\-PAGE}}
\index{T\_\-START\_\-PAGE@{T\_\-START\_\-PAGE}!ks0108.h@{ks0108.h}}
\subsubsection[{T\_\-START\_\-PAGE}]{\setlength{\rightskip}{0pt plus 5cm}\#define T\_\-START\_\-PAGE~0}}
\label{ks0108_8h_a2681082bf9fdff7d4d2cca6991c64fb0}
\hypertarget{ks0108_8h_a87b537f5fa5c109d3c05c13d6b18f382}{
\index{ks0108.h@{ks0108.h}!WHITE@{WHITE}}
\index{WHITE@{WHITE}!ks0108.h@{ks0108.h}}
\subsubsection[{WHITE}]{\setlength{\rightskip}{0pt plus 5cm}\#define WHITE~0x00}}
\label{ks0108_8h_a87b537f5fa5c109d3c05c13d6b18f382}
\hypertarget{ks0108_8h_af792feb13ae0c1eab8f95f64c8baa96d}{
\index{ks0108.h@{ks0108.h}!WRITE\_\-CMD@{WRITE\_\-CMD}}
\index{WRITE\_\-CMD@{WRITE\_\-CMD}!ks0108.h@{ks0108.h}}
\subsubsection[{WRITE\_\-CMD}]{\setlength{\rightskip}{0pt plus 5cm}\#define WRITE\_\-CMD~cbi(LCD\_\-CMD\_\-PORT, R\_\-W);	cbi(LCD\_\-CMD\_\-PORT, D\_\-I);}}
\label{ks0108_8h_af792feb13ae0c1eab8f95f64c8baa96d}
\hypertarget{ks0108_8h_a485de214409cb69e0b6588157d1a3e25}{
\index{ks0108.h@{ks0108.h}!WRITE\_\-DATA@{WRITE\_\-DATA}}
\index{WRITE\_\-DATA@{WRITE\_\-DATA}!ks0108.h@{ks0108.h}}
\subsubsection[{WRITE\_\-DATA}]{\setlength{\rightskip}{0pt plus 5cm}\#define WRITE\_\-DATA~cbi(LCD\_\-CMD\_\-PORT, R\_\-W);	sbi(LCD\_\-CMD\_\-PORT, D\_\-I);}}
\label{ks0108_8h_a485de214409cb69e0b6588157d1a3e25}


\subsection{Typedef Documentation}
\hypertarget{ks0108_8h_a7681c35f5d0c10cc5aebb18d3fc6234b}{
\index{ks0108.h@{ks0108.h}!ks0108FontCallback@{ks0108FontCallback}}
\index{ks0108FontCallback@{ks0108FontCallback}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108FontCallback}]{\setlength{\rightskip}{0pt plus 5cm}typedef uint8\_\-t($\ast$ {\bf ks0108FontCallback})(const uint8\_\-t $\ast$)}}
\label{ks0108_8h_a7681c35f5d0c10cc5aebb18d3fc6234b}


\subsection{Function Documentation}
\hypertarget{ks0108_8h_a818f642993913ea0589acbf25082f438}{
\index{ks0108.h@{ks0108.h}!ks0108ClearDot@{ks0108ClearDot}}
\index{ks0108ClearDot@{ks0108ClearDot}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108ClearDot}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108ClearDot (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{, }
\item[{uint8\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a818f642993913ea0589acbf25082f438}
\hypertarget{ks0108_8h_a1c716ea4fddcbd2074eea6288ee46d2f}{
\index{ks0108.h@{ks0108.h}!ks0108DoReadData@{ks0108DoReadData}}
\index{ks0108DoReadData@{ks0108DoReadData}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DoReadData}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t ks0108DoReadData (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{first}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a1c716ea4fddcbd2074eea6288ee46d2f}
\hypertarget{ks0108_8h_a47aa0fae54f16ae533f55b9e84b59a61}{
\index{ks0108.h@{ks0108.h}!ks0108DrawLine@{ks0108DrawLine}}
\index{ks0108DrawLine@{ks0108DrawLine}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawLine}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108DrawLine (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x1, }
\item[{uint8\_\-t}]{y1, }
\item[{uint8\_\-t}]{x2, }
\item[{uint8\_\-t}]{y2, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a47aa0fae54f16ae533f55b9e84b59a61}
\hypertarget{ks0108_8h_a313016389527974577b0e3552f333b88}{
\index{ks0108.h@{ks0108.h}!ks0108DrawRect@{ks0108DrawRect}}
\index{ks0108DrawRect@{ks0108DrawRect}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawRect}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108DrawRect (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x, }
\item[{uint8\_\-t}]{y, }
\item[{uint8\_\-t}]{width, }
\item[{uint8\_\-t}]{height, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a313016389527974577b0e3552f333b88}
\hypertarget{ks0108_8h_a1b779d8e5b79a2165c6aff36aec00ca2}{
\index{ks0108.h@{ks0108.h}!ks0108DrawRoundRect@{ks0108DrawRoundRect}}
\index{ks0108DrawRoundRect@{ks0108DrawRoundRect}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108DrawRoundRect}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108DrawRoundRect (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x, }
\item[{uint8\_\-t}]{y, }
\item[{uint8\_\-t}]{width, }
\item[{uint8\_\-t}]{height, }
\item[{uint8\_\-t}]{radius, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a1b779d8e5b79a2165c6aff36aec00ca2}
\hypertarget{ks0108_8h_a049a4acdbb1a75a3874624d93000fa04}{
\index{ks0108.h@{ks0108.h}!ks0108Enable@{ks0108Enable}}
\index{ks0108Enable@{ks0108Enable}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108Enable}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108Enable (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a049a4acdbb1a75a3874624d93000fa04}
\hypertarget{ks0108_8h_a051bb639c91803e48d8939b4c182a38d}{
\index{ks0108.h@{ks0108.h}!ks0108Fill@{ks0108Fill}}
\index{ks0108Fill@{ks0108Fill}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108Fill}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108Fill (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{mode}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a051bb639c91803e48d8939b4c182a38d}
\hypertarget{ks0108_8h_a0dc090ac40ee30474c6292a496963713}{
\index{ks0108.h@{ks0108.h}!ks0108FillRect@{ks0108FillRect}}
\index{ks0108FillRect@{ks0108FillRect}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108FillRect}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108FillRect (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x, }
\item[{uint8\_\-t}]{y, }
\item[{uint8\_\-t}]{width, }
\item[{uint8\_\-t}]{height, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a0dc090ac40ee30474c6292a496963713}
\hypertarget{ks0108_8h_ad93865f5eb9fa35e9ae373cfb384f34c}{
\index{ks0108.h@{ks0108.h}!ks0108GotoXY@{ks0108GotoXY}}
\index{ks0108GotoXY@{ks0108GotoXY}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108GotoXY}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108GotoXY (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{, }
\item[{uint8\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_ad93865f5eb9fa35e9ae373cfb384f34c}
\hypertarget{ks0108_8h_aa7ebf0e03fcbf00d2b9950a2af501952}{
\index{ks0108.h@{ks0108.h}!ks0108Init@{ks0108Init}}
\index{ks0108Init@{ks0108Init}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108Init}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108Init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_aa7ebf0e03fcbf00d2b9950a2af501952}
\hypertarget{ks0108_8h_a38b7d8672da45eeee31b095c48234176}{
\index{ks0108.h@{ks0108.h}!ks0108InvertRect@{ks0108InvertRect}}
\index{ks0108InvertRect@{ks0108InvertRect}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108InvertRect}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108InvertRect (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x, }
\item[{uint8\_\-t}]{y, }
\item[{uint8\_\-t}]{width, }
\item[{uint8\_\-t}]{height}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a38b7d8672da45eeee31b095c48234176}
\hypertarget{ks0108_8h_ad4d131c95da09e5f651f70b1871f2e20}{
\index{ks0108.h@{ks0108.h}!ks0108NewLine@{ks0108NewLine}}
\index{ks0108NewLine@{ks0108NewLine}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108NewLine}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108NewLine (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{fontHeight, }
\item[{uint8\_\-t}]{offset}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_ad4d131c95da09e5f651f70b1871f2e20}
\hypertarget{ks0108_8h_a293c224dabc5e88b2db2a9b291f3194f}{
\index{ks0108.h@{ks0108.h}!ks0108PutChar@{ks0108PutChar}}
\index{ks0108PutChar@{ks0108PutChar}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108PutChar}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108PutChar (
\begin{DoxyParamCaption}
\item[{char}]{c, }
\item[{struct {\bf font}}]{font}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a293c224dabc5e88b2db2a9b291f3194f}
\hypertarget{ks0108_8h_aa64b444af47d70eb1edf82abb8a9c796}{
\index{ks0108.h@{ks0108.h}!ks0108PutString@{ks0108PutString}}
\index{ks0108PutString@{ks0108PutString}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108PutString}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108PutString (
\begin{DoxyParamCaption}
\item[{char $\ast$}]{string, }
\item[{struct {\bf font}}]{font}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_aa64b444af47d70eb1edf82abb8a9c796}
\hypertarget{ks0108_8h_acb22d6064e3c3c5c04cd813f85b7f5b1}{
\index{ks0108.h@{ks0108.h}!ks0108PutStringP@{ks0108PutStringP}}
\index{ks0108PutStringP@{ks0108PutStringP}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108PutStringP}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108PutStringP (
\begin{DoxyParamCaption}
\item[{PGM\_\-P}]{string, }
\item[{struct {\bf font}}]{font}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_acb22d6064e3c3c5c04cd813f85b7f5b1}
\hypertarget{ks0108_8h_a84940081d15ab563c303449e9c60efef}{
\index{ks0108.h@{ks0108.h}!ks0108ReadData@{ks0108ReadData}}
\index{ks0108ReadData@{ks0108ReadData}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108ReadData}]{\setlength{\rightskip}{0pt plus 5cm}char ks0108ReadData (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{incXAdd}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a84940081d15ab563c303449e9c60efef}
\hypertarget{ks0108_8h_a129ad264d04cada102770fbf5439ed61}{
\index{ks0108.h@{ks0108.h}!ks0108ReadDatanew@{ks0108ReadDatanew}}
\index{ks0108ReadDatanew@{ks0108ReadDatanew}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108ReadDatanew}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t ks0108ReadDatanew (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{ks0108_8h_a129ad264d04cada102770fbf5439ed61}
\hypertarget{ks0108_8h_ac16cd1ece94e62fb903e9c9ee0563b17}{
\index{ks0108.h@{ks0108.h}!ks0108ReadFontData@{ks0108ReadFontData}}
\index{ks0108ReadFontData@{ks0108ReadFontData}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108ReadFontData}]{\setlength{\rightskip}{0pt plus 5cm}uint8\_\-t ks0108ReadFontData (
\begin{DoxyParamCaption}
\item[{const uint8\_\-t $\ast$}]{ptr}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_ac16cd1ece94e62fb903e9c9ee0563b17}
\hypertarget{ks0108_8h_a9a40fe851573279d09ddadb94eac083a}{
\index{ks0108.h@{ks0108.h}!ks0108SelectFont@{ks0108SelectFont}}
\index{ks0108SelectFont@{ks0108SelectFont}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108SelectFont}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108SelectFont (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{font, }
\item[{{\bf ks0108FontCallback}}]{callback, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a9a40fe851573279d09ddadb94eac083a}
\hypertarget{ks0108_8h_a7563cb2d1329cf3381d49235e66f754e}{
\index{ks0108.h@{ks0108.h}!ks0108SetDot@{ks0108SetDot}}
\index{ks0108SetDot@{ks0108SetDot}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108SetDot}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108SetDot (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{, }
\item[{uint8\_\-t}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a7563cb2d1329cf3381d49235e66f754e}
\hypertarget{ks0108_8h_add7e0f36eea7fc933c799ee690ad4dc8}{
\index{ks0108.h@{ks0108.h}!ks0108SetDotnew@{ks0108SetDotnew}}
\index{ks0108SetDotnew@{ks0108SetDotnew}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108SetDotnew}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108SetDotnew (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{x, }
\item[{uint8\_\-t}]{y, }
\item[{uint8\_\-t}]{color}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_add7e0f36eea7fc933c799ee690ad4dc8}
\hypertarget{ks0108_8h_a913cb2088d83be092ea39d39a42878f5}{
\index{ks0108.h@{ks0108.h}!ks0108SetInverted@{ks0108SetInverted}}
\index{ks0108SetInverted@{ks0108SetInverted}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108SetInverted}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108SetInverted (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{invert}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a913cb2088d83be092ea39d39a42878f5}
\hypertarget{ks0108_8h_ad9b8f565d8a5a3a8b1951a381553b395}{
\index{ks0108.h@{ks0108.h}!ks0108WriteCommand@{ks0108WriteCommand}}
\index{ks0108WriteCommand@{ks0108WriteCommand}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108WriteCommand}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108WriteCommand (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{cmd, }
\item[{uint8\_\-t}]{chip}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_ad9b8f565d8a5a3a8b1951a381553b395}
\hypertarget{ks0108_8h_a3d5f4ebdf7ffb511d6d387a8330158e2}{
\index{ks0108.h@{ks0108.h}!ks0108WriteData@{ks0108WriteData}}
\index{ks0108WriteData@{ks0108WriteData}!ks0108.h@{ks0108.h}}
\subsubsection[{ks0108WriteData}]{\setlength{\rightskip}{0pt plus 5cm}void ks0108WriteData (
\begin{DoxyParamCaption}
\item[{uint8\_\-t}]{data}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a3d5f4ebdf7ffb511d6d387a8330158e2}
\hypertarget{ks0108_8h_af958b42d8740b55b2773f2406ab09b40}{
\index{ks0108.h@{ks0108.h}!lcd\_\-cls@{lcd\_\-cls}}
\index{lcd\_\-cls@{lcd\_\-cls}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-cls}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-cls (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_af958b42d8740b55b2773f2406ab09b40}
\hypertarget{ks0108_8h_a62635a2b3066a84f913e3c7d4d31d585}{
\index{ks0108.h@{ks0108.h}!lcd\_\-initial@{lcd\_\-initial}}
\index{lcd\_\-initial@{lcd\_\-initial}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-initial}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-initial (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a62635a2b3066a84f913e3c7d4d31d585}
\hypertarget{ks0108_8h_ad5823382e24a05232f6159c979e85793}{
\index{ks0108.h@{ks0108.h}!lcd\_\-print\_\-column@{lcd\_\-print\_\-column}}
\index{lcd\_\-print\_\-column@{lcd\_\-print\_\-column}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-print\_\-column}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-print\_\-column (
\begin{DoxyParamCaption}
\item[{unsigned char}]{y, }
\item[{unsigned int}]{value}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_ad5823382e24a05232f6159c979e85793}
\hypertarget{ks0108_8h_a59268018d37e9658916fac2775596681}{
\index{ks0108.h@{ks0108.h}!lcd\_\-print\_\-point@{lcd\_\-print\_\-point}}
\index{lcd\_\-print\_\-point@{lcd\_\-print\_\-point}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-print\_\-point}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-print\_\-point (
\begin{DoxyParamCaption}
\item[{unsigned char}]{y, }
\item[{unsigned int}]{value}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a59268018d37e9658916fac2775596681}
\hypertarget{ks0108_8h_acaaf299dd0df6836b0dded86d36f2b40}{
\index{ks0108.h@{ks0108.h}!lcd\_\-print\_\-signal@{lcd\_\-print\_\-signal}}
\index{lcd\_\-print\_\-signal@{lcd\_\-print\_\-signal}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-print\_\-signal}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-print\_\-signal (
\begin{DoxyParamCaption}
\item[{unsigned int $\ast$}]{wave}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_acaaf299dd0df6836b0dded86d36f2b40}
\hypertarget{ks0108_8h_a0914845824d051a964683e0c645657bd}{
\index{ks0108.h@{ks0108.h}!lcd\_\-print\_\-spectrum@{lcd\_\-print\_\-spectrum}}
\index{lcd\_\-print\_\-spectrum@{lcd\_\-print\_\-spectrum}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-print\_\-spectrum}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-print\_\-spectrum (
\begin{DoxyParamCaption}
\item[{unsigned int $\ast$}]{spectrum}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a0914845824d051a964683e0c645657bd}
\hypertarget{ks0108_8h_adf0a5938f7bf89fe5cec5d7275a73d1e}{
\index{ks0108.h@{ks0108.h}!lcd\_\-update@{lcd\_\-update}}
\index{lcd\_\-update@{lcd\_\-update}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-update}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-update (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_adf0a5938f7bf89fe5cec5d7275a73d1e}
\hypertarget{ks0108_8h_acc06c833023eb4d45111328280633aa6}{
\index{ks0108.h@{ks0108.h}!lcd\_\-write\_\-cmd@{lcd\_\-write\_\-cmd}}
\index{lcd\_\-write\_\-cmd@{lcd\_\-write\_\-cmd}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-write\_\-cmd}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-write\_\-cmd (
\begin{DoxyParamCaption}
\item[{unsigned char}]{cmd}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_acc06c833023eb4d45111328280633aa6}
\hypertarget{ks0108_8h_a0b50780b04259f3c85b6f93ece51d587}{
\index{ks0108.h@{ks0108.h}!lcd\_\-write\_\-data@{lcd\_\-write\_\-data}}
\index{lcd\_\-write\_\-data@{lcd\_\-write\_\-data}!ks0108.h@{ks0108.h}}
\subsubsection[{lcd\_\-write\_\-data}]{\setlength{\rightskip}{0pt plus 5cm}void lcd\_\-write\_\-data (
\begin{DoxyParamCaption}
\item[{unsigned char}]{data}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a0b50780b04259f3c85b6f93ece51d587}
\hypertarget{ks0108_8h_a60bc2975c4759c751c3288eddbb714a5}{
\index{ks0108.h@{ks0108.h}!wait\_\-while\_\-chip\_\-is\_\-busy@{wait\_\-while\_\-chip\_\-is\_\-busy}}
\index{wait\_\-while\_\-chip\_\-is\_\-busy@{wait\_\-while\_\-chip\_\-is\_\-busy}!ks0108.h@{ks0108.h}}
\subsubsection[{wait\_\-while\_\-chip\_\-is\_\-busy}]{\setlength{\rightskip}{0pt plus 5cm}void wait\_\-while\_\-chip\_\-is\_\-busy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{ks0108_8h_a60bc2975c4759c751c3288eddbb714a5}
